home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
doc
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-05-09
|
1KB
|
58 lines
# @(#) Imakefile 12.1 95/05/09
#
# S000 18 Sep 1993 rr@sco.com
# placed under SCCS and turned into an Imakefile
#
# Documentation of the WAIS system
# brewster 2/91
RM = /bin/rm -f
AR = ar
ARFLAGS = r
all:: textfromman indexem
DependTarget()
text = waisindex.txt waisq.txt waissearch.txt \
waisserver.txt xwais.txt xwaisq.txt
waisindex.txt:: manl/waisindex.l
nroff -man manl/waisindex.l | sed -e 's/_//g' > waisindex.txt
waisq.txt:: manl/waisq.l
nroff -man manl/waisq.l | sed -e 's/_//g' > waisq.txt
waissearch.txt:: manl/waissearch.l
nroff -man manl/waissearch.l | sed -e 's/_//g' > waissearch.txt
waisserver.txt:: manl/waisserver.l
nroff -man manl/waisserver.l | sed -e 's/_//g' > waisserver.txt
xwais.txt:: manl/xwais.l
nroff -man manl/xwais.l | sed -e 's/_//g' > xwais.txt
xwaisq.txt:: manl/xwaisq.l
nroff -man manl/xwaisq.l | sed -e 's/_//g' > xwaisq.txt
textfromman:: $(text)
indexem:: ../wais-sources/wais-docs.dct
../wais-sources/wais-docs.dct:: $(text)
-mkdir ../wais-sources
../ir/waisindex -d ../wais-sources/wais-docs -t text *.txt
clean::
$(RM) *~
$(RM) manl\/*~
$(RM) \#*\#
$(RM) waisindex.txt waisq.txt waisserver.txt waissearch.txt \
xwais.txt xwaisq.txt
$(RM) ../wais-sources/wais-docs.*
$(RM) ../wais-sources\/*~
$(RM) ../wais-sources\/*#
$(RM) SearchLog